<div class="am-u-sm-12 widget main-w">
	
	
	
	<div class="am-u-sm-12 cl-p">
		<form class="am-form tpl-form-border-form tpl-form-border-br" action="" method="get">
			<div class="am-u-sm-2">
				<select name="work_state" data-am-selected="{btnWidth: '100%',btnSize: 'sm'}">
					<option {$Think.get.work_state} value="0">全部</option>
					<option {$Think.get.work_state==1?selected:""} value="1">执行任务中</option>
					<option {$Think.get.work_state==2?selected:""} value="2">有预约订单</option>
					<option {$Think.get.work_state==3?selected:""} value="3">听单中</option>
					<option {$Think.get.work_state==4?selected:""} value="4">下班</option>
				</select>
			</div>
			<div class="am-u-sm-2">
				<input type="text" class="tpl-form-input" name="company_name" placeholder="请输入公司/单位名称" value="{$Think.get.company_name}">
				
			</div>
			<div class="am-u-sm-2">
				<input type="text" class="tpl-form-input" name="name" placeholder="司机姓名" value="{$Think.get.name}">
			</div>
			<div class="am-u-sm-2">
				<input type="text" class="tpl-form-input" name="phone" placeholder="司机电话" value="{$Think.get.phone}">
			</div>
			<!--<div class="am-u-sm-2">
				<input type="text" class="tpl-form-input" name="number" placeholder="车牌号" value="{$Think.get.number}">
			</div>-->
			<div class="am-u-sm-4">
				<button type="submit" class="am-btn am-btn-sm am-btn-primary am-radius">查询<i class="am-icon-search"></i></button>
			</div>

		</form>
	</div>
	
	<div style="padding: 10px;" class="am-u-sm-12">
		<form class="am-form tpl-form-border-form tpl-form-border-br cl-p cl-m" action="outexcel" method="get">
			<div class="am-btn-group am-u-sm-12 am-btn-group-xs cl-p">
				<a href="{:url('add')}" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 新增</a>
				<button type="button" class="am-btn am-btn-default delete-multiple" data-method='deleteMultiple' data-type="getCheckData"><span class="am-icon-trash-o"></span> 删除</button>
				<button type="button" class="am-btn am-btn-default am-fr export" style="float: right;">导出数据</button>
			</div>
		</form>
		<table  class="layui-hide" id="driver" lay-data="{id: 'driver'}" lay-filter="driver"></table>
		<script type="text/html" id="operation">
			 {{#  if(d.state ==1){ }}
			 <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="forbidden">禁用</a>
			 {{#  } else { }}
			 <a class="layui-btn layui-btn-xs" lay-event="startusing">启用</a>
			  {{#  } }}
			<!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>-->
			<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
		</script>
		
		<script type="text/html" id="relevance">
			<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="relevance">查看</a>
		</script>
		<div class="am-u-lg-12 am-cf">

			<div class="am-fr">
				<ul class="pagination"></ul>
			</div>
		</div>
	</div>

</div>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key={:config('base.mapkey')}&plugin=AMap.Driving"></script>
<script src="//webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>